
package com.ibeeking.found.report.rest.service.impl;

import com.ibeeking.found.report.rest.service.IReportDashboardWidgetService;
import com.ibeeking.found.report.service.common.dos.ReportDashboardWidgetDO;
import com.ibeeking.found.report.service.mapper.ReportBaseMapper;
import com.ibeeking.found.report.service.mapper.ReportDashboardWidgetMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @desc ReportDashboardWidgetDO 大屏看板数据渲染服务实现
* @author Raod
* @date 2021-04-12 15:12:43.724
**/
@Service
//@RequiredArgsConstructor
public class ReportDashboardWidgetServiceImpl implements IReportDashboardWidgetService {

    @Resource
    private ReportDashboardWidgetMapper reportDashboardWidgetMapper;

    @Override
    public ReportBaseMapper<ReportDashboardWidgetDO> getMapper() {
      return reportDashboardWidgetMapper;
    }

    @Override
    public ReportDashboardWidgetDO getDetail(Long id) {
        ReportDashboardWidgetDO reportDashboardWidgetDO = this.selectOne(id);
        return reportDashboardWidgetDO;
    }
}
